<?php
// example of how to use basic selector to retrieve HTML contents
 include('connection.php');

	
	 $Curl_Session = curl_init('http://causelists.nic.in/cgi-bin/chennai_new/omon/lawquery.cgi');
	 curl_setopt ($Curl_Session, CURLOPT_POST, 1);
	 curl_setopt ($Curl_Session, CURLOPT_POSTFIELDS, "prl_name=".$_REQUEST['act']);
	 curl_setopt ($Curl_Session, CURLOPT_FOLLOWLOCATION, 1);
	 curl_exec ($Curl_Session);
	 curl_close ($Curl_Session);
	 
 //}
?>	